package dmo2;

public class Test {
    public static void main(String[] args) {
        Rabbit a=new Rabbit("美人","黑色","哺乳类");
        a.cry();
        a.eat();
        System.out.println("*************************************");
        Frog b=new Frog("大兵","绿色","非哺乳类");
        b.eat();
        b.cry();
        b.swimming();
    }
}
